object oriented programming in php with examples